package util;

public class ZnwgTool {
    /**
     * 根据参数名称 获取参数的L级别
     * @param name
     * @return
     */
    public static String getL(String name){

        if(name.contains("L0")){
            return "L0";
        }else if(name.contains("L1")){
            return "L1";
        }else if(name.contains("L2")){
            return "L2";
        }else if(name.contains("L3")){
            return "L3";
        }else if(name.contains("L4")){
            return "L4";
        }else if(name.contains("L5")){
            return "L5";
        }else{
            return "未知";
        }
    }
}